class MaterailsType {
  final int id;
  final String name;
  final String number;
  // ignore: non_constant_identifier_names
  final int cook_id;

  MaterailsType({this.id, this.name, this.number, this.cook_id});

  factory MaterailsType.fromJson(Map<String, dynamic> json) {
    return MaterailsType(
      id: json['id'] as int,
      number: json['number'] as String,
      name: json['name'] as String,
      cook_id: json['cook_id'] as int,
    );
  }
}
